<?php

    /**
     * Xml
     *
     * Handles Xml request
     * It just gets parameters from the url query and the post content.
     *
     * @package      Core
     * @subpackage   Controller_Request
     *
     * @license      GNU Lesser General Public Licence see LICENCE-LGPL file or http://www.gnu.org/licenses/lgpl.html
     */
    class Core_Controller_Request_Xml extends Core_Controller_Request_Http
    {

    ////////////////////////////////////////////////////////////////////////////
	//                                Variables                               //
	////////////////////////////////////////////////////////////////////////////

        /**
         * The request type code
         *
         * @var string
         */
        protected $_type = 'xml';

        /**
         * The type of the default response
         *
         * @var string
         */
        protected $_defaultResponseType = 'xml';

    ////////////////////////////////////////////////////////////////////////////
	//                            Protected methods                           //
	////////////////////////////////////////////////////////////////////////////

		/**
		 * Returns a list of class name of allowed response corresponding to the request
		 *
		 * @return      array
		 */
		protected function _allowedResponses()
		{
			return array('Core_Controller_Response_Xml');
		}
    }
